Skip to main content
Version: 1.0.2

Set Limit

Set applicable volume and transaction limits for physical and virtual cards.

Card typeAttributeApplicable limits
Virtual cardVolumePER_TRANSACTION, DAY, MONTH, YEAR, LIFE_TIME
Virtual cardTransaction countDAY, MONTH, YEAR, LIFE_TIME
Physical cardVolumePER_TRANSACTION
Physical cardTransaction count DAY, MONTH, YEAR

Method: POST

{{URL}}/cardv2

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParametersDescription

reference

Optional

String

Unique reference ID of the request

Sample Value: "visadps100026"

transactionType

Mandatory

String

Type of operation / transaction

Constant Value : "SET_LIMIT"

customerId

Mandatory

String

Unique ID of the customer

Sample Value : "100000000006001"

accountNumber

Mandatory

String

Account number of the customer

Sample Value : "400320588344662"

product

Mandatory

String

Name of the product associated with the card

Sample Value: "DEFAULT"

channel

Mandatory

Enum

Processing channel through which the card transaction happens

Valid Values:

PULSE

VISA_DPS

Sample Value :"VISA_DPS"

program

Mandatory

String

Name of the program to which the card product is mapped

Sample Value : "DEFAULT"

cardLimit

Mandatory

Object

cardId

Mandatory

String

Unique identifier of the card

Sample Value : "ff32c9ded3774e109e002773e8822a0b"

cycleType

Mandatory

Enum

Time frame over which the limit applies

Valid values:

"LIFE_TIME", "YEAR", "MONTH", "DAY", "PER_TRANSACTION"

Sample Value : "LIFE_TIME"

type

Mandatory

Enum

Type of limit being applied

Valid values:

"VOLUME", "COUNT"

Sample Value : "VOLUME"

value

Mandatory

String

Total allowed limit

Sample Value : "1000"


curl --location --globoff '{{URL}}/cardv2' \
--header 'Content-Type: application/json' \
--data '{"method":"ledger.CARD.request","id":"1","params":{"payload":{"reference":"visadps100026","transactionType":"SET_LIMIT","customerId":"100000000006001","accountNumber":"400320588344662","product":"DEFAULT","channel":"VISA_DPS","program":"DEFAULT","cardLimit":{"cardId":"ff32c9ded3774e109e002773e8822a0b","cycleType":"LIFE_TIME","type":"VOLUME","value":"1000"}},"api":{"credential":"{{cred}}","signature":"{{signature}}","apiKey":"{{Api-key}}"}}}'

Body


{
"method": "ledger.CARD.request",
"id": "1",
"params": {
"payload": {
"reference": "visadps100026",
"transactionType": "SET_LIMIT",
"customerId": "100000000006001",
"accountNumber": "400320588344662",
"product": "DEFAULT",
"channel": "VISA_DPS",
"program": "DEFAULT",
"cardLimit": {
"cardId": "ff32c9ded3774e109e002773e8822a0b",
"cycleType": "LIFE_TIME",
"type": "VOLUME",
"value": "1000"
}
},
"api": {
"credential": "{{cred}}",
"signature": "{{signature}}",
"apiKey": "{{Api-key}}"
}
}
}

Response: 200

Response Parameters
ParametersDescription

Id

String

Response Id echoed from the request Id

Sample Value : "1"

result

Object

api

Object

type

String

Acknowledgement for type of operation requested for

Constant value: " SET_LIMIT_ACK"

reference

String

Auto generated reference ID of this acknowledgment

Sample value: " REFvisadps100026"

dateCreated

Number

Unix timestamp of the response was created

Sample value: 1732088991

originalReference

String

Original reference ID taken from the request

Sample value: " visadps100026"


{
"id": "1",
"result": {
"api": {
"type": "SET_LIMIT_ACK",
"reference": "REFvisadps100026",
"dateCreated": 1732088991,
"originalReference": "visadps100026"
}
}
}